﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Windows;
using System.Windows.Documents;
using System.Windows.Markup;
using System.Windows.Navigation;

using ReflectionStudio.Core.Events;
using ReflectionStudio.Core.Helpers;
using System.Windows.Controls;
using WPFExcelReport;
namespace ReflectionStudio.Components.UserControls
{
	/// <summary>
	/// HomeDocument show a xaml flow document that comes from the net (or resource if trouble) 
	/// It is supposed to give news and links
	/// </summary>
	public partial class HomeEK : DocumentBase
	{
        
		/// <summary>
		/// Constructor
		/// </summary>
        public HomeEK()
		{
			InitializeComponent();
            this.Name = "工艺报表汇总";
		}
        public override void SetUp(Dictionary<string, object> dicParamater)
        { 
            base.SetUp(dicParamater);
            InitializeComponent();
            
        }
        public Button btnActive;
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Button sd = sender as Button;
            btnActive = sender as Button;
            string doctype = sd.Tag.ToString();
//            _Control.ActivateReportByDocType(doctype);
        } 
	}
}
